package com.ruoyi.modules.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线路信息对象 t_line_information
 * 
 * @author ssh
 * @date 2024-12-15
 */
public class LineInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 线路名称 */
    @Excel(name = "线路名称")
    private String name;

    /** 工地（外键） */
    @Excel(name = "工地", readConverterExp = "外=键")
    private String constructionSiteId;

    /** 土场（外键） */
    @Excel(name = "土场", readConverterExp = "外=键")
    private String soilFieldId;

    /** 所属企业commpany_id */
    @Excel(name = "所属企业commpany_id")
    private String commpanyId;

    /** 所属企业名称 */
    @Excel(name = "所属企业名称")
    private String commpanyName;

    /** 公开：1.是 2.否 */
    @Excel(name = "公开：1.是 2.否")
    private String share;

    /** 线路关联regionId */
    @Excel(name = "线路关联regionId")
    private String regionId;

    /** 线路宽度 */
    @Excel(name = "线路宽度")
    private String lineWidth;

    /** 道路限速 */
    @Excel(name = "道路限速")
    private String lineSpeed;

    /** 数据状态（作为逻辑删除，0为正常-1为删除） */
    @Excel(name = "数据状态", readConverterExp = "作=为逻辑删除，0为正常-1为删除")
    private Long status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setConstructionSiteId(String constructionSiteId) 
    {
        this.constructionSiteId = constructionSiteId;
    }

    public String getConstructionSiteId() 
    {
        return constructionSiteId;
    }
    public void setSoilFieldId(String soilFieldId) 
    {
        this.soilFieldId = soilFieldId;
    }

    public String getSoilFieldId() 
    {
        return soilFieldId;
    }
    public void setCommpanyId(String commpanyId) 
    {
        this.commpanyId = commpanyId;
    }

    public String getCommpanyId() 
    {
        return commpanyId;
    }
    public void setCommpanyName(String commpanyName) 
    {
        this.commpanyName = commpanyName;
    }

    public String getCommpanyName() 
    {
        return commpanyName;
    }
    public void setShare(String share) 
    {
        this.share = share;
    }

    public String getShare() 
    {
        return share;
    }
    public void setRegionId(String regionId) 
    {
        this.regionId = regionId;
    }

    public String getRegionId() 
    {
        return regionId;
    }
    public void setLineWidth(String lineWidth) 
    {
        this.lineWidth = lineWidth;
    }

    public String getLineWidth() 
    {
        return lineWidth;
    }
    public void setLineSpeed(String lineSpeed) 
    {
        this.lineSpeed = lineSpeed;
    }

    public String getLineSpeed() 
    {
        return lineSpeed;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("constructionSiteId", getConstructionSiteId())
            .append("soilFieldId", getSoilFieldId())
            .append("commpanyId", getCommpanyId())
            .append("commpanyName", getCommpanyName())
            .append("share", getShare())
            .append("regionId", getRegionId())
            .append("lineWidth", getLineWidth())
            .append("lineSpeed", getLineSpeed())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
